<extend name="Index/index"/>

<block name="content">
    <!--<div class="view-product" style="margin-top: 50px">-->
        <div class="info-center">
            <div class="manage-head">
                <h6 class="padding-left manage-head-con">{{$title}}</h6>
            </div>
            <div class="offcial-table input-table table-margin clearfix">
                <if condition="$cateList eq null">
                    <div class="tr non-info show border-bottom-none">
                        <span>没查询到符合条件的记录</span>
                    </div>
                    <else />
                    <table class="layui-table text-center">
                        <tr>
                            <th class="text-center">ID</th>
                            <th class="text-center">类型名</th>
                            <th class="text-center">权限名</th>
                            <!--<th class="text-center">操作</th>-->
                        </tr>
                        <foreach  name="cateList" item="vo" key="k">
                            <tr>
                                <td>{{$vo.id}}</td>
                                <td>{{$vo.name}}</td>
                                <if condition="empty($vo['power_name'])">
                                    <td>无</td>
                                <else/>
                                    <td>{{$vo.power_name}}</td>
                                </if>

                                <!--<td></td>-->

                            </tr>
                        </foreach>
                    </table>
                    <div class="row center-block">
                        <div class="layui-col-md5 layui-col-md-offset5">
                            {{$page}}
                        </div>
                    </div>

                </if>

            </div>
        </div>
        <!--<div class="show-page padding-big-right hidden">-->
            <!--<div class="page">-->
            <!--</div>-->
        <!--</div>-->
    <!--</div>-->

</block>